import { AnyAction } from 'redux'
import * as TYPES from '../action-types'
import { validate } from '../../api/user'
export default {
    validate(): AnyAction {
        return {
            type: TYPES.VALIDATE,
            payload: validate()
        }
    }
}